export class StyleBase {
    left?: string;
    top?: string;
    width?: string;
    rwidth?: number;
    rheight?: number;
    height?: string;
    cursor?: string;
    display?: string;
    deg?: number;
    "z-index"?: number;
    lineWidth?: number = 1;
    color?: string = "black"
    background?: string = "transparent"
    bgColor?: string = "white";
    constructor(data) {
        this.left = data.left;
        this.top = data.top;
        this.width = data.width;
        this.height = data.height;
        if (data["z-index"]) {
            this["z-index"] = data["z-index"];
        }
    }
}